package com.dream.cgomall.service;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * ES接口
 */
public interface ContentService {

    boolean parseContent() throws IOException;

    List<Map<String ,Object>> searchPage(String keyword, int pageNo, int pageSize) throws IOException;
//    List<Map<String ,Object>> searchPage(String keyword) throws IOException;


    List<Map<String, Object>> searchPageHighlightBuilder(String keyword, int pageNo, int pageSize) throws IOException;

}
